﻿
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.BsicData.Writer.Api.Application.Command.RoleMenu
{
    public class CreateRoleMenuCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 菜单ID
        /// </summary>
        //public int[] UserId { get; set; } 
        public List<int> MenuId { get; set; } // 前端传入的数组 [1,2,3,4]
    }
}
